import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/account_userInfo_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/account_userInfo_entity.g.dart';

@JsonSerializable()
class AccountUserInfoEntity {
	String? userId;
	String? nickName;
	String? avatar;
	double? userBalance;
	String? walletAddress;
	String? guildName;
	String? guildId;
	int? guildMemberLevel;
	String? email;
	AccountUserInfoWithdrawSet? withdrawSet;
	int? stoneNum;
	double? rechargeMinDrn;
	int? rechargeMinCoin;
	int? rechargeUsdtCoin;
	int? coin;
	int? newGift;
	double? utn;

	AccountUserInfoEntity();

	factory AccountUserInfoEntity.fromJson(Map<String, dynamic> json) => $AccountUserInfoEntityFromJson(json);

	Map<String, dynamic> toJson() => $AccountUserInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AccountUserInfoWithdrawSet {
	int? dayMaxCount;
	double? minDrn;
	int? maxDrn;
	double? feeRate;
	int? everyDoranCoin;
	int? withdrawMinCoin;
	int? dayLimit;

	AccountUserInfoWithdrawSet();

	factory AccountUserInfoWithdrawSet.fromJson(Map<String, dynamic> json) => $AccountUserInfoWithdrawSetFromJson(json);

	Map<String, dynamic> toJson() => $AccountUserInfoWithdrawSetToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}